package com.hh.storeRoom.vo;/*
 * @Description:TODO 描述
 * @Author: tongZhao
 * @date: 2023/8/16
 */

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class StoreRoomUpdateVo {

    //库房id
    private Integer id;

    //库房编码
    @NotBlank(message = "库房编码不能为空")
    private String code;

    //库房名称
    @NotBlank(message = "库房名称不能为空")
    private String name;

    //库房描述
    private String remark;

    //库房状态
    @NotNull(message = "库房状态不能为空")
    private Boolean status;

    //地区编码
    @NotEmpty(message = "地区编码不能为空")
    private String regionCode;

    //国家编码
    @NotEmpty(message = "国家编码不能为空")
    private String countryCode;

    //省编码
    @NotEmpty(message = "省编码不能为空")
    private String provinceCode;

    //市编码
    @NotEmpty(message = "市编码不能为空")
    private String cityCode;

    //县区编码
    @NotEmpty(message = "县区编码不能为空")
    private String countyCode;

    //详细地址
    private String address;

    //库房标识编码
    @NotEmpty(message = "库房标识编码不能为空")
    private String logoCode;

    //版本号
    private Integer version;

}
